<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class OrderGoods extends Model
{
    //设定当前模型所对应的表名
    public $table = 'order_goods';

    public function info()
    {
    	return $this->belongsTo('App\Goods','goods_id');
    }
}
